package com.black.app.domain.req.my.myorders;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
@ApiModel(value = "AppOrderAftersaleAddReq", description = "用户售后申请新增请求对象")
public class AppOrderAftersaleAddReq {
    /**
     * 售后id
     */
    @ApiModelProperty(value = "售后id")
    private Integer id;

    /**
     * 售后编码单号
     */
    @ApiModelProperty(value = "售后编码单号", required = true)
    private String Code;

    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id", required = true)
    private Integer orderId;

    /**
     * 退款方式
     */
    @ApiModelProperty(value = "退款方式",required = true)
    private String way;

//    /**
//     * 申请时间
//     */
//    @ApiModelProperty(value = "申请时间",required = true)
//    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
//    private Date applyTime;

    /**
     * 退款原因
     */
    @ApiModelProperty(value = "退款原因",required = true)
    private String cause;
}
